package gwt.bbsbot.client;

import gwt.bbsbot.client.beans.QuestionDataBean;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String addQuestion(String name, String question_data, String genre);
	List<QuestionDataBean> getAllQuestions();
	List<QuestionDataBean> getQuestionsByGenre(String genre);
	List<String> getMentions();
}
